@import 'variables';
@import 'mixins'; //收货地址
.addressinfo {
    width: 99%;
    overflow: hidden;
    margin: 0.1rem auto;
    position: relative;
    top: 0.5rem;
    .addressinfo-content {
        padding: 0.1rem;
        .commonbox;
        .text {
            height: 0.4rem;
            margin: 0.05rem 0;
            border-radius: 5px;
            border: 1px solid #ddd;
            text-indent: 0.1rem;
            width: 100%;
        }
        #region {
            select {
                margin-left: 0.1rem;
                border-radius: 0.05rem;
                border: 1px solid #ddd;
                height: 0.38rem;
                margin: 0.05rem 0;
                width: 0.95rem;
            }
        }
        .submit-address {
            width: 100%;
            .backgroundcolor;
            display: block;
            text-align: center;
            height: 0.4rem;
            line-height: 0.4rem;
            border: 1px solid #31b231;
            border-radius: 0.05rem;
            color: #fff;
            font-size: 0.16rem;
            cursor: pointer;
            margin: 0.05rem auto;
        }
    }
    .op-address-list {
        background: #ffffff;
        margin: 0 0.1rem;
        li {
            padding-top: 0.15rem;
            margin: 0.1rem 0;
            font-size: 0.15rem;
            color: #333;
            border: 1px solid #eaeaea;
            p {
                overflow: hidden;
                padding-left: 0.15rem;
                span.edit {
                    border-right: 1px solid #eaeaea;
                    .edit-icon {
                        display: inline-block;
                        background: url("../img/edit.png");
                        background-size: contain;
                        width: 0.12rem;
                        height: 0.12rem;
                        margin-right: 0.05rem;
                        vertical-align: -1px;
                    }
                }
                em {
                    font-style: normal;
                }
                span {
                    display: inline-block;
                    float: left;
                    width: 48%;
                    text-align: center;
                    a {
                        display: block;
                        color: #666;
                        margin: 0 0.1rem;
                        padding: 0.05rem 0;
                    }
                    .delete-icon {
                        display: inline-block;
                        background: url("../img/del.png");
                        background-size: contain;
                        width: 0.15rem;
                        height: 0.15rem;
                        margin-right: 0.05rem;
                        vertical-align: -1px;
                    }
                }
            }
            p.new-line {
                border-bottom: 1px solid #eaeaea;
            }
            .address-action {
                font-size: 0.14rem;
            }
        }
        li.no-address {
            border: none;
            color: #cacaca;
            background: #f6f6f6;
            text-align: center;
        }
    }
}